package com.company.bridgeMode;

/**
 * @description: 使用 DrawAPI 接口创建抽象类 Shape
 * @author: zgw
 * @create: 2020-12-08 11:02
 **/
public abstract class Shape {

    protected DrawAPI drawAPI;

    protected Shape(DrawAPI drawAPI){
        this.drawAPI = drawAPI;
    }

    public abstract void draw();
}
